package com.bocai.freeman.view.activitys;

import android.os.Bundle;
import android.view.View;
import android.widget.CheckBox;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.bocai.freeman.R;
import com.bocai.freeman.base.BaseActivity;
import com.bocai.freeman.utils.ToolbarHelper;
import com.bocai.freeman.view.adapter.PerfectLightDetailAdapter;
import com.bocai.freeman.view.custom.NoScrolGridView;
import com.bocai.freeman.view.custom.NoScrollListView;

import butterknife.Bind;
import butterknife.ButterKnife;

/**
 * Created by win7 on 2016/5/26.
 */
public class PerfectLightDetailActivity extends BaseActivity {
    @Bind(R.id.icon)
    ImageView icon;
    @Bind(R.id.tv_nickname)
    TextView tvNickname;
    @Bind(R.id.tv_date)
    TextView tvDate;
    @Bind(R.id.ll_replay_count)
    LinearLayout llReplayCount;
    @Bind(R.id.tv_label)
    TextView tvLabel;
    @Bind(R.id.img_member_level)
    ImageView imgMemberLevel;
    @Bind(R.id.tv_text)
    TextView tvText;
    @Bind(R.id.gv_image)
    NoScrolGridView gvImage;
    @Bind(R.id.iv_image)
    ImageView ivImage;
    @Bind(R.id.fl_image)
    FrameLayout flImage;
    @Bind(R.id.cb_like)
    CheckBox cbLike;
    @Bind(R.id.cb_comment)
    TextView cbComment;
    @Bind(R.id.lv_no)
    NoScrollListView lvNo;

    private PerfectLightDetailAdapter mAdapter;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_perfect_light_detail);
        ButterKnife.bind(this);
        ToolbarHelper.setup(this, getString(R.string.str_friends_dynamic), R.mipmap.left_return, new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                onBackPressed();
            }
        });
        initView();
        initEvent();
    }

    @Override
    protected void initView() {
        lvNo.setFocusable(false);
        mAdapter = new PerfectLightDetailAdapter(this);
        lvNo.setAdapter(mAdapter);
    }

    @Override
    protected void initEvent() {

    }
}
